package org.sump.data;


/**
 * Grant is an item of ACL (Access Control List)
 * @author Sergey Grigorchuk (sergey.grigorchuk@gmail.com)
 */
public interface Grant {
	
	/**
	 * Subject of the grant
	 * @return subject of the grant
	 */
	HasGrants getSubject();

	/**
	 * Resource of the grant
	 * @return resource of the grant
	 */
	Resource getResource();

	/**
	 * Permission of the grant
	 * @return permission of the grant
	 */
	Permission getPermission();
}
